/**
 * @author malguy-wang sir
 * @create ---
 */
public class test {
    public static void main(String[] args) {
        //arraylist版
//        myArrayListHashMap hashMap = new myArrayListHashMap<String,String>();
//        hashMap.put("user","malred");
//        System.out.println(hashMap.get("user"));
//        hashMap.put("user","1111");
//        System.out.println(hashMap.get("user"));
//        hashMap.put("user1","2221");
//        System.out.println(hashMap.get("user1"));
        //object[]版
//        myLinkListHashMap<Object,String> map = new myLinkListHashMap<>();
//        map.put(8,"f");
//        map.put("k","ma");
//        System.out.println(map.get("k"));
//        System.out.println(map.get(8));
//        map.put("k","aaaa");
//        System.out.println(map.get("k"));
        //linkedlist版
        myLinkListHashMap map = new myLinkListHashMap();
        System.out.println("a".hashCode());
        System.out.println(new Integer(97).hashCode());
        System.out.println(map.put("a", "malred_a"));
        System.out.println(map.put(97, "malred_97"));
    }
}
